package com.zp.system.mapper;

import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import com.zp.system.entity.SysRoleGroupMenu;
import com.zp.system.entity.vo.SysRoleGroupMenuVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 自定义服务与菜单对照Mapper接口
 *
 * @author zhang peng
 * @date 2022-12-11
 */
public interface SysRoleGroupMenuMapper extends BaseMapperPlus<SysRoleGroupMenuMapper, SysRoleGroupMenu, SysRoleGroupMenuVo> {

    /**
     * 根据主键查询自定义服务
     *
     * @param roleGroupId 自定义服务主键
     * @return
     */
    List<SysRoleGroupMenuVo> getRoleGroupMenuList (@Param("roleGroupId") String roleGroupId, @Param("menuCheckStrictly") boolean menuCheckStrictly);

    int deleteGroupMenu (@Param("roleGroupId") String roleGroupId);

}
